﻿using System;

namespace edowork.com.Model
{
    #region sellbilldetailInfo

    [Serializable]
    public class sellbilldetailInfo
    {
        #region Private fields

        protected string _sabid = String.Empty;
        protected string _productcode = String.Empty;
        protected decimal _qty;
        protected decimal _price;
        protected string _remark = String.Empty;

        #endregion

        public sellbilldetailInfo() { }

        #region Public Properties

        public string Sabid
        {
            get { return _sabid; }
            set { _sabid = value; }
        }

        public string Productcode
        {
            get { return _productcode; }
            set { _productcode = value; }
        }

        public decimal Qty
        {
            get { return _qty; }
            set { _qty = value; }
        }

        public decimal Price
        {
            get { return _price; }
            set { _price = value; }
        }

        public string Remark
        {
            get { return _remark; }
            set { _remark = value; }
        }

        #endregion

        #region Public SQL Script

        public string SQL_Insert()
        {
            return "insert into sellbilldetail(Sabid,Productcode,Qty,Price,Remark) values('{0}','{1}',{2},{3},'{4}')";
        }

        #endregion

    }

    #endregion
}

